package cn.Service.Impl;

import cn.Mapper.UserHomeMapper;
import cn.Service.UserHomeService;
import cn.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserHomeServiceImpl implements UserHomeService {
    @Autowired
    private UserHomeMapper userHome;
    public User FindUserByUserName(String username) {
        return userHome.FindUserByUserName(username);
    }

    public int UpdateUserByUserName(User user) {
        return userHome.UpdateUserByUserName(user);
    }


}
